package com.user.generate.model;

import com.easyCode.sqlBuilder.constants.KeyTypeConstants;
import com.easyCode.sqlBuilder.oop.Filed;
import com.easyCode.sqlBuilder.oop.Key;
import com.easyCode.sqlBuilder.oop.Table;

/**
 * @author 大忽悠
 * @create 2023/2/17 17:47
 */
@Table(comment = "分校区表")
public class SubCampus extends BaseTime{
    @Filed(comment = "校区名")
    private String name;
    @Filed(comment = "校区描述信息",notNull = false)
    private String desc;
    @Filed(comment = "关联的主校区id")
    @Key(keyType = KeyTypeConstants.KEY)
    private Integer parentId;
}
